const ADDRESSES = require('../helper/coreAssets.json')
const ETHEREUM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0x93ce650b8d3a7a7e44121db82a0429a3884db599":
    "0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490",
  "0xE49127B7AEfc043847caDd85B8a41973854D30f5":
    "0x8dff75976f22db58d7c3fd7b68d782238b0dbe30",
  "0x8A31A94bF0926B82083C80E18B331085B84E92D7":
    "0x689440f2Ff927E1f24c72F1087E1FAF471eCe1c8",
  "0xcc26a5246c6a04a85e997d6581c1b4f14363841a":
    "0xcfc25170633581bf896cb6cdee170e3e3aa59503",
  "0x9a7Ce41c96Db8d792497D7BEe70fAfb7F8393D71":
    "0x7e880867363A7e321f5d260Cade2B0Bb2F717B02",
  "0xd4EC67cF6C0Aa65F74eb7F03216Ea23151af21b8":
    "0x2932a86df44fe8d2a706d8e9c5d51c24883423f5",
  "0x4F1546Ce825dB85310aC2c2cfb369543d73FD0a2":
    "0xbD5445402B0a287cbC77cb67B2a52e2FC635dce4",
  "0x394Aa83d0E5D348c7FA39325d2A25993704Faf8f":
    "0xfb860600f1be1f1c72a89b2ef5caf345aff7d39d",
  "0xD1105d6502d3c562B447A75149B00aD366b3212d":
    "0x6991C1CD588c4e6f6f1de3A0bac5B8BbAb7aAF6d",
  "0xE08FF1427b199241506FcdCC23fcc24Dd98a4FA9":
    "0xDeFd8FdD20e0f34115C7018CCfb655796F6B2168",
  "0xC21545c26661ae74b3259B55aE007ACC4Bf5d4e3":
    "0x9D5C5E364D81DaB193b72db9E9BE9D8ee669B652",
  "0xa0Cd8B83B63381895C1854A605315fa7eF50e026":
    "0x512a68dd5433563bad526c8c2838c39debc9a756",
  "0x25aE9BE521898d33c7DF6Ae8c6669Fe038Bb3550":
    "0xecad6745058377744c09747b2715c0170b5699e5",
  "0x9434722bf29750B44649eb1b1A10a335d40edFc1":
    "0x27cace18f661161661683bba43933b2e6eb1741e",
  "0xF2280cBa8e0B9bc9b87b5aFbBeF8C41C20a5ddBe":
    "0xbe266d68ce3ddfab366bb866f4353b6fc42ba43c",
  "0x5F1894e4b409D7199Ea209b9e43C996640BCB691":
    "0x8605dc0c339a2e7e85eea043bd29d42da2c6d784",
  "0xa653510227752632ebf692a77e5032d4afFaB3a2":
    "0xC94208D230EEdC4cDC4F80141E21aA485A515660",
  "0xA1998B87C2935BDbd7fE6ee48542a59a0435a3Ee":
    "0x245Ec0d447e7f206B43120Ac292dED5E8bB9fe61",
  "0xC8c3031fB628Bdf4eA0F7cA5F96E369Dea07624e":
    "0x0404d05F3992347d2f0dC3a97bdd147D77C85c1c",
  "0xDc118133332f703e22C0b0FA7E0DD7d1299A7247":
    "0xB468dB2E478885B87D7ce0C8DA1D4373A756C138",
  "0xC6fDF0921c480Bd7Af89Ab4461D4aCDA24058a65":
    "0xAE0bFfc3110e69DA8993F11C1CBd9a6eA3d16daF",
  "0x6410ee1f8417a7cE1c3E68E3434c1d6beef6944E":
    "0x277d1424a84b35ec0a8108482551b00b4fc1539b",
  "0x9456cB3ae9fA8788ac1af4a7A18b339D4028061D":
    "0xc2fe9d3c761994897594df63b33b6d843ab7b1cf",
  "0x26dA2546602f63b84B3C4dF36476364f6350706E":
    "0x0e83df148f69965bfe752250835854b0dbeeaf01",
  "0x0a3fE1d39E5c60CfdB48Ba2Dc6B7c855289Dec7C":
    "0x35ad1acf0c4be5d4ba11342128d440fdb9e189eb",
  "0xA27fa5E11B121277423aC0b8b372596f2805e36a":
    "0xe2c422d954db416a69fb29137fe552cce0e160e9",
  "0x41e5c3aD70DA89dd7b6AF9Af3cd6861FbC31eA16":
    "0x621ef98282ac42d2bf4c20fc73912a16599e12fb",
  "0x019e773bE2D65D5fE30bE17547b89500C7C4CD5E":
    "0xfb35Fd0095dD1096b1Ca49AD44d8C5812A201677",
  "0x1346da36093Fdb8013E1125046f0dCBbBF645b3F":
    "0x0ED3A1D45DfdCf85BCc6C7BAFDC0170A357B974C",
  "0x4E0854085bC5a2fa8031ea5819863BD280e610F3":
    "0x391B570e81e354a85a496952b66ADc831715f54f",
  "0x9Ab43f73054C07b02e02c5468b3eB058ccdAA019":
    "0x98601E27d41ccff643da9d981dc708cf9eF1F150",
  "0x223026549740E2672b3f05c867Fd2B31207338A2":
    "0x7C2D26182adeEf96976035986cF56474feC03bDa",
  "0x3e0A917d4d914e432B82825e6FBEe039b89f4477":
    "0x029aad400f6092dc735a65be95102efcc2fe64bf",
  "0x4d5F47FA6A74757f35C14fD3a6Ef8E3C9BC514E8":
    ADDRESSES.ethereum.WETH,
  "0x0B925eD163218f6662a35e0f0371Ac234f9E9371":
    ADDRESSES.ethereum.WSTETH,
  "0x5Ee5bf7ae06D1Be5997A1A72006FE6C607eC6DE8":
    ADDRESSES.ethereum.WBTC,
  "0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c":
    ADDRESSES.ethereum.USDC,
  "0x23878914EFE38d27C4D67Ab83ed1b93A74D4086a":
    ADDRESSES.ethereum.USDT,
  "0x018008bfb33d285247A21d44E50697654f754e63":
    ADDRESSES.ethereum.DAI,
  "0x9ff58f4fFB29fA2266Ab25e75e2A8b3503311656":
    ADDRESSES.ethereum.WBTC,
  "0x030bA81f1c18d280636F32af80b9AAd02Cf0854e":
    ADDRESSES.ethereum.WETH,
  "0xBcca60bB61934080951369a648Fb03DF4F96263C":
    ADDRESSES.ethereum.USDC,
  "0x3Ed3B47Dd13EC9a98b44e6204A523E766B225811":
    ADDRESSES.ethereum.USDT,
  "0x028171bCA77440897B824Ca71D1c56caC55b68A3":
    ADDRESSES.ethereum.DAI,
  "0x8B2098043Cea715A18E81CC0A6a9d202Cf279014":
    "0x1f7e9321ce32af1f9ea1185fd10d31fea31ffd95",
};

const ARBITRUM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0xC3691c157D1B3A431B841230a7B11d5a373097e1":
    "0xce5f24b7a95e9cba7df4b54e911b4a3dc8cdaf6f",
  "0x7Bdc233E5369Ac023b9894645902C9032A72D9Ee":
    "0x971E732B5c91A59AEa8aa5B0c763E6d648362CF8",
  "0xCC26A5246C6A04a85E997d6581C1b4f14363841a":
    "0xf2ddf89c04d702369ab9ef8399edb99a76e951ce",
  "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5":
    "0x098ef55011b6b8c99845128114a9d9159777d697",
  "0x59eC3043D7314B9650294Fd800149b53007f804E":
    "0x95285ea6ff14f80a2fd3989a6bab993bd6b5fa13",
  "0x972c6F2b29638b9AD6955c4F0b0c1239b034f053":
    "0x93729702Bf9E1687Ae2124e191B8fFbcC0C8A0B0",
  "0xbA65D50Cf4e6E739B2735338a964C3354fAF9B19":
    "0xd6dacdcb438f048cf90e53415872cdb3fcc95421",
  "0x886867993080DC3bBFC39CDfc343A0e083bB34E0":
    "0x6B7B84F6EC1c019aF08C7A2F34D3C10cCB8A8eA6",
  "0xB72ea6F99EfA5BD6Fb400BaA4eFddC3cfB075215":
    "0xc2b1df84112619d190193e48148000e3990bf627",
  "0x660108601EED17aF2832A1c0F1D7dE74F560C5ed":
    "0x7c0ac20c3ca8c6257ea099131081d8199bf6b8f6",
  "0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8":
    ADDRESSES.arbitrum.WETH,
  "0x513c7E3a9c69cA3e22550eF58AC1C0088e918FFf":
    ADDRESSES.arbitrum.WSTETH,
  "0x078f358208685046a11C85e8ad32895DED33A249":
    ADDRESSES.arbitrum.WBTC,
  "0x724dc807b04555b71ed48a6896b6F41593b8C637":
    ADDRESSES.arbitrum.USDC_CIRCLE,
  "0x6ab707Aca953eDAeFBc4fD23bA73294241490620":
    ADDRESSES.arbitrum.USDT,
  "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE":
    ADDRESSES.optimism.DAI,
};

const OPTIMISM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0x29c431806E536Fb22ce2Edc8dd6e3C3A0d5689a8":
    "0xc5ae4b5f86332e70f3205a8151ee9ed9f71e0797",
  "0xDaA24E888432b5aa607105e256919Ddfc8b327E9":
    "0xd53ccbfed6577d8dc82987e766e75e3cb73a8563",
  "0xC3691c157D1B3A431B841230a7B11d5a373097e1":
    "0x15f52286c0ff1d7a7ddbc9e300dd66628d46d4e6",
  "0xCC26A5246C6A04a85E997d6581C1b4f14363841a":
    "0x172a5af37f69c69cc59e748d090a70615830a5dd",
  "0xeEeeb52E36c78b153caaB2761c369a50b066cDD5":
    "0xcb8883d1d8c560003489df43b30612aabb8013bb",
  "0x59eC3043D7314B9650294Fd800149b53007f804E":
    "0x2eb49a3eff789d7b2286bf17667acbf12d882c17",
  "0xbA65D50Cf4e6E739B2735338a964C3354fAF9B19":
    "0xcea806562b757aeffa9fe9d0a03c909b4a204254",
  "0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8":
    ADDRESSES.optimism.WETH_1,
  "0xc45A479877e1e9Dfe9FcD4056c699575a1045dAA":
    ADDRESSES.optimism.WSTETH,
  "0x078f358208685046a11C85e8ad32895DED33A249":
    ADDRESSES.optimism.WBTC,
  "0x38d693cE1dF5AaDF7bC62595A37D667aD57922e5":
    ADDRESSES.optimism.USDC_CIRCLE,
  "0x6ab707Aca953eDAeFBc4fD23bA73294241490620":
    ADDRESSES.optimism.USDT,
  "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE":
    ADDRESSES.optimism.DAI,
};

const POLYGON_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0x9dc8Ee4264923D44F2a33Ea139FC4143C288b172":
    "0x0e2f214b8f5d0cca011a8298bb907fb62f535160",
  "0x1057a796C66ca87EC1e6494f5486006396756083":
    "0x835cA119fA28515B1F184A5Ce5Ccda2B5b0d9F6D",
  "0x350c331F4e5fD9d5D703424F3F14CcC0280B6629":
    "0x40371aad2a24ed841316ef30938881440fd4426c",
  "0xf742B69Bd460F14EB5d8335e06954eba694B552E":
    "0xA9249f8667cb120F065D9dA1dCb37AD28E1E8FF0",
  "0xc44F1103A271BEFF26bB245D760bFbe182CCf121":
    "0x8b397084699cc64e429f610f81fac13bf061ef55",
  "0x195888B86db69C52b54362DB2D71c2d3e411A0bA":
    "0xc501491b0e4A73B2eFBaC564a412a927D2fc83dD",
  "0x22301937028310Cef6530eF3C3Bfe14581eb679F":
    "0xfc052e70eb6d94afe464a8ce8f43d203109494f2",
  "0x90F06727Ba5016eDcf9D8B5def63a5849EcD132f":
    "0x9633e0749faa6ec6d992265368b88698d6a93ac0",
  "0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97":
    ADDRESSES.polygon.WMATIC_2,
  "0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8":
    ADDRESSES.polygon.WETH_1,
  "0xf59036CAEBeA7dC4b86638DFA2E3C97dA9FcCd40":
    ADDRESSES.polygon.WSTETH,
  "0x078f358208685046a11C85e8ad32895DED33A249":
    ADDRESSES.polygon.WBTC,
  "0xA4D94019934D8333Ef880ABFFbF2FDd611C762BD":
    ADDRESSES.polygon.USDC_CIRCLE,
  "0x6ab707Aca953eDAeFBc4fD23bA73294241490620":
    ADDRESSES.polygon.USDT,
  "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE":
    ADDRESSES.polygon.DAI,
  "0x8dF3aad3a84da6b69A4DA8aeC3eA40d9091B2Ac4":
    ADDRESSES.polygon.WMATIC_2,
  "0x28424507fefb6f7f8E9D3860F56504E4e5f5f390":
    ADDRESSES.polygon.WETH_1,
  "0x5c2ed810328349100A66B82b78a1791B101C9D61":
    ADDRESSES.polygon.WBTC,
  "0x1a13F4Ca1d028320A707D99520AbFefca3998b7F":
    ADDRESSES.polygon.USDC,
  "0x60D55F02A771d515e077c9C2403a1ef324885CeC":
    ADDRESSES.polygon.USDT,
  "0x27F8D03b3a2196956ED754baDc28D73be8830A6e":
    ADDRESSES.polygon.DAI,
};

const AVALANCHE_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0xe50fA9b3c56FfB159cB0FCA61F5c9D750e8128c8":
    ADDRESSES.avax.WETH_e,
  "0x6d80113e533a2C0fe82EaBD35f1875DcEA89Ea97":
    ADDRESSES.avax.WAVAX,
  "0x8ffDf2DE812095b1D19CB146E4c004587C0A0692":
    ADDRESSES.avax.BTC_b,
  "0x625E7708f30cA75bfd92586e17077590C60eb4cD":
    ADDRESSES.avax.USDC,
  "0x6ab707Aca953eDAeFBc4fD23bA73294241490620":
    ADDRESSES.avax.USDt,
  "0x82E64f49Ed5EC1bC6e43DAD4FC8Af9bb3A2312EE":
    ADDRESSES.avax.DAI,
  "0x53f7c5869a859F0AeC3D334ee8B4Cf01E3492f21":
    ADDRESSES.avax.WETH_e,
  "0xDFE521292EcE2A4f44242efBcD66Bc594CA9714B":
    ADDRESSES.avax.WAVAX,
  "0x46A51127C3ce23fb7AB1DE06226147F446e4a857":
    ADDRESSES.avax.USDC,
  "0x532E6537FEA298397212F09A61e03311686f548e":
    ADDRESSES.avax.USDt,
  "0x47AFa96Cdc9fAb46904A55a6ad4bf6660B53c38a":
    ADDRESSES.avax.USDt,
};

const BNB_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0x2E94171493fAbE316b6205f1585779C887771E2F":
    ADDRESSES.bsc.ETH,
  "0x56a7ddc4e848EbF43845854205ad71D5D5F72d3D":
    ADDRESSES.bsc.BTCB,
  "0x9B00a09492a626678E5A3009982191586C444Df9":
    ADDRESSES.bsc.WBNB,
  "0x00901a076785e0906d1028c7d6372d247bec7d61":
    ADDRESSES.bsc.USDC,
  "0xa9251ca9DE909CB71783723713B21E4233fbf1B1":
    ADDRESSES.bsc.USDT,
};

const BASE_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {
  "0x3b9860321f03AFe02D3FF9e4Fdd4017DC6F4d7Ca":
    "0x79edc58C471Acf2244B8f93d6f425fD06A439407",
  "0x1f0dbEcDA414F401dB46464864273CaD19368706":
    "0x93933FA992927284e9d508339153B31eb871e1f4",
  "0x3E07F263C1Ce5EC2a3f1cA87af56B80B27674D96":
    "0x89289DC2192914a9F0674f1E9A17C56456549b8A",
  "0xD4a0e0b9149BCee3C920d2E00b5dE09138fd8bb7":
    ADDRESSES.optimism.WETH_1,
  "0x99CBC45ea5bb7eF3a5BC08FB1B7E56bB2442Ef0D":
    ADDRESSES.base.wstETH,
  "0x4e65fE4DbA92790696d040ac24Aa414708F5c0AB":
    ADDRESSES.base.USDC,
};

const BLAST_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES = {};

const registryTokensWithUnderlyingAddressesByChain = {
  ethereum: ETHEREUM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  arbitrum: ARBITRUM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  optimism: OPTIMISM_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  polygon: POLYGON_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  avalanche: AVALANCHE_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  bsc: BNB_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  base: BASE_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
  blast: BLAST_REGISTRY_TOKENS_WITH_UNDERLYING_ADDRESSES,
};

module.exports = registryTokensWithUnderlyingAddressesByChain;
